/**
 * @Author: 陈瑞鹏
 * @Date:   2022-12-09 11:25:44
 * @Last Modified by:   陈瑞鹏
 * @Last Modified time: 2022-12-17 09:58:59
 */
export const gameConfig = {
    syncRate: 10,

    moveSpeed: 10,

    // 箭矢飞行时间（毫秒）
    arrowFlyTime: 500,
    // 箭矢投掷距离
    arrowDistance: 8,
    // 箭矢落地命中判定半径
    arrowAttackRadius: 2,
    // 被箭矢几种后的晕眩时间（毫秒）
    arrowDizzyTime: 1000,


}

export enum campType {
    mine = 1, //自己
    enemy = 2, //敌人
}

//类型
export enum soliderType {
    miner = 0, //矿工
    spearman = 1, //枪兵
    guard = 2, //守卫
    shield = 3, //盾兵
    castle = 4, //城堡

    tree = 5, //资源 树
    mineral = 6, //资源 矿石

    monster = 7, //怪物

    cannon = 8, // 加农炮
    bullet = 9, //子弹 或炮弹
    shell = 10, //地雷

    dl = 11, //地雷二 （采集获得）

    militia = 12, //民兵
    bowman = 13, //弓兵
    swordsman = 14, //剑士
    cavalry = 15, //骑兵
    trapped = 16, //陷阵骑士
    dogs = 17, //训练犬
    master = 18, //法师
    fighter = 19, //格斗家
    scarecrow = 20, // 稻草人
    jumpFire = 21,  //跳跃之火
    logistics = 22, //医疗兵
    warlock = 23, //术士
}